#ifndef SKILL_POOL_H
#define SKILL_POOL_H

#include <map>

class Skill;
class SkillPool
{
public:
	static SkillPool* instance();
	Skill* GetSkill(int id);
	/*
	typedef void (*HeroFunc)(int, Hero*);
	void ForEachHero(HeroFunc func);
	*/
private:
	SkillPool();
	void AddSkill(int id, Skill* skill);
	void AddSkill_Sheet(const char* filename);

	typedef std::map<int, Skill*>::iterator SMIter;
	std::map<int, Skill*> m_pool;
};


#endif